import {DashboardIcon} from 'tdesign-icons-vue';
import Layout from "@/layouts/index.vue";

export default [
  {
    path: '/agent',
    component: Layout,
    redirect: '/agent/list',
    name: 'agent',
    meta: {
      title: '代理商',
      icon: DashboardIcon,
    },
    children: [
      {
        path: 'approve',
        name: 'AgentApprove',
        component: () => import('@/pages/agent/approve/index.vue'),
        meta: {title: '代理商管理'},
      },
      //{
      //  path: 'list',
      //  name: 'ClientList',
      //  component: () => import('@/pages/agent/client/index.vue'),
      //  meta: {title: '代理商客户'},
      //},
    ],
  },
];
